<form action="/backend/service/update" method="post">
    <input type="hidden" name="id" value="<?php echo $service->id; ?>" />
    <div class="form-row">
	<label for="category">分类</label>
	<select name="category">
	    <?php foreach ($categories as $category): ?>
    	    <option value="<?php echo $category['id']; ?>"<?php echo $service->category == $category['id'] ? 'selected="selected"' : ''; ?>>
		    <?php echo $category['name_zh']; ?> / <?php echo $category['name_fr']; ?> / <?php echo $category['name_en']; ?>
    	    </option>
	    <?php endforeach; ?>
	</select>
    </div>
    <div class="form-row">
	<label for="menu_zh">菜单（中文）</label>
	<input type="text" class="text" name="menu_zh" value="<?php echo $service->menu_zh; ?>"/>
    </div>
    <div class="form-row">
	<label for="menu_fr">菜单（法文）</label>
	<input type="text" class="text" name="menu_fr" value="<?php echo $service->menu_fr; ?>"/>
    </div>
    <div class="form-row">
	<label for="menu_en">菜单（英文）</label>
	<input type="text" class="text" name="menu_en" value="<?php echo $service->menu_en; ?>"/>
    </div>

    <div class="form-row">
	<label for="title_zh">标题（中文）</label>
	<input type="text" class="text" name="title_zh" value="<?php echo $service->title_zh; ?>"/>
    </div>
    <div class="form-row">
	<label for="title_fr">标题（法文）</label>
	<input type="text" class="text" name="title_fr" value="<?php echo $service->title_fr; ?>"/>
    </div>
    <div class="form-row">
	<label for="title_en">标题（英文）</label>
	<input type="text" class="text" name="title_en" value="<?php echo $service->title_en; ?>"/>
    </div>
    <div class="form-row">
	<label for="content_zh">内容（中文）</label>
	<textarea name="content_zh"><?php echo $service->content_zh; ?></textarea>
    </div>
    <div class="form-row">
	<label for="content_fr">内容（法文）</label>
	<textarea name="content_fr"><?php echo $service->content_fr; ?></textarea>
    </div>
    <div class="form-row">
	<label for="content_en">内容（英文）</label>
	<textarea name="content_en"><?php echo $service->content_en; ?></textarea>
    </div>
    <div class="form-button">
	<input type="submit" class="submit" value="提交"/>
    </div>
</form>